﻿/*
   Author: Tomer Paz
   BOGO.com
   2008
*/

/* the DB client system - Interface class*/

/* the DBClient system is based on AMF3 and relies on web server to use AMFPHP (>=2.0!!) */

package monopoly.DBA {
	
	import flash.events.IEventDispatcher;

	public interface IDBClient extends IEventDispatcher
		{
		function get_game_data(gameId:int):void;
		function get_players_data(gameId:int):void;
        function get_properties_list(boardId:int):void;
		function get_player_by_name(name:String):void;
		
		function get game_data():Array;
		function player_data(uid:int):Array;
		function get players_data():Array;
		function get properties_list():Array;
		function player_by_name():Array;
		}
	
	
	
	
}